﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace KeZhou.Models.Instances
{
    internal class PlanOnBuilding
    {
        private static PlanOnBuilding instance;

        public static PlanOnBuilding Instance
        {
            get
            {
                return instance;
            }
            set { instance = value; }
        }

        public PlanOnBuilding(long accountId,string accountDetail, string passwordDetail, string accountName)
        {

            this.accountId = accountId;
            this.accountDetail = accountDetail;
            this.passwordDetail = passwordDetail;
            this.accountName = accountName;
            //AAA运行时改为null
            /*this.cityName = "武汉市";*/
            /*this.startTime = "2021-10-22-0";
            this.endTime = "2021-10-24-2";
            this.hotel = "如派酒店（武汉大学店）";
            double[] temp = new double[2];
            temp[0] = 114.36308;
            temp[1] = 30.53831;
            this.hotelLnglat = temp;*/
        }

        //登陆页面
        public long accountId { get; set; }
        public string accountDetail {  get; set; }
        public string passwordDetail {  get; set; }
        public string accountName {  get; set; }//昵称未开发
        //选择城市、出行时间、酒店
        //以下待修改
        public string cityName { get; set; }
        //原来的
        public string startTime { get; set; } // 格式yyyy-mm-dd-0，0为上午
        public string endTime { get; set; }
        public string hotel { get; set; }
        public double[] hotelLnglat { get; set; }

    }
}
